This is not necessary, there's already a restriction at the class level.