Check classes after defining them.