Stronger warning when teacher deletes class