Registering defined validators.