Removing unnecessary classes.