Remove outdated classes.