Validator stuff.