removed MarkLogic proprietary code