Added Validator for entity