Allow a teacher to delete a class.