anchor.diff:              ReplyPid = comm:reply_as(self(), 5, {move, continue, MoveFullId, update_rcv_data2, '_'}),
               SlideOp2 = slide_op:set_phase(SlideOp1, wait_for_continue),
               State2 = dht_node_state:slide_add_data(State1, Data),
  -            case slide_chord:update_rcv_data1(State2, SlideOp2, ReplyPid) of
  +            SlideMod = get_slide_mod(),
  +            case SlideMod:update_rcv_data1(State2, SlideOp2, ReplyPid) of
                   {ok, State3, SlideOp3} ->
                       PredOrSucc = slide_op:get_predORsucc(SlideOp3),
                       dht_node_state:set_slide(State3, PredOrSucc, SlideOp3);
  
positive.code:     MoveFullId = slide_op:get_id(OldSlideOp),
      ReplyPid = comm:reply_as(self(), 5, {move, continue, MoveFullId, finish_delta_ack2, '_'}),
      SlideOp1 = slide_op:set_phase(OldSlideOp, wait_for_continue),
      case slide_chord:finish_delta_ack1(State, SlideOp1, NextOpMsg, ReplyPid) of
          {ok, State1, SlideOp2} ->
              PredOrSucc = slide_op:get_predORsucc(SlideOp2),
              dht_node_state:set_slide(State1, PredOrSucc, SlideOp2);
  
negative.code:                 OtherNode, node:id(PredNode), leave,
                  unknown, SourcePid, nomsg, {none}).
  
  -spec get_slide_mod() -> slide_chord. % | slide_leases.
  get_slide_mod() ->
      case config:read(leases) of
          %true -> slide_leases;
          failed -> slide_chord;
          false -> slide_chord
      end.
  
  %% @doc Checks whether config parameters regarding dht_node moves exist and are
  %%      valid.
  -spec check_config() -> boolean().
  