Added caching to DomainClassEnhancer