Magnetism of actinide compounds