Typo in validator.addMethod() example