Delete unneeded classes