Fixes incorrect object "validate" to "validator"

Validator was incorrectly called validate.