Expose schema in validators.

Changes the way that the validator is exposed and includes the `schema` that it is validating against.