Replaced link creation with ODataLib methods.