Remove obsolete classes from loadCoreConfig map