ClassGenerator should generate method implementations
CodeGenerator should generate methods for each class
CodeGenerator.generate_class_declarations should generate nothing when there are no classes
CodeGenerator.generate_class_registrations should generate nothing when there are no classes
removed unused Ast factory method