no longer supports Buffer natively regExp is now regexp
changed 'custom' to 'validator' for inline validators
added direct validator assignment