Extending name validator.