Remove deleted classes.