Deleting useles classes