Clean up the classes.