1. Refactored: Extract method
2. New method added to ClassInfo class