Remove obsolete classes