Removing not used classes.