Deletition of unneeded classes