Change Types to types in examples/validation.js