We also need a validation callback for the domain.