removes more unneeded classes