Validator

Adding a comment would be helpful, that this is used for error messages below.