Note the addition of validate_record.