Do not try to validate when there is no validator function