Compatibility layer for supporting the old HOF argument order on MarkLogic.