Remove deprecated classes.