Removes old unused classes.