Cleanup unused classes.