Set a maximum class size then hide the option