DCAPI/Validation.pm: Allow scalar refs through validation