Refactored remote validator to use callback validator.