removing obsolete classes and configurations