Validator interface declared