1. Bean generator optimization and refactoring.