Rebuild all classes