Adding support for name validation.