Pass Proc or lambda to validator options