Removing unneeded classes.