Deleting obsolete classes.