Same validation should be enforced here.