Validators generator