Clean up unused classes.