ability to pass extra validators to type mapper