Fixed lanthanides and actinides classes.