removed annotatedCacheClasses (does not work well)