Why do we need to return validator instance here?