Fix so that it is really possible to pass null to disable transformation in validators.