Delete extraneous classes