Added a schema validator.