Deleting extra classes