Handle validator options more elegantly.