Deleting unnecessary classes