anchor.diff:  
   %%%===================================================================
   %%% Internal functions
  -%%%===================================================================
  +%%%===============================1====================================
   
   %% @private
   broadcast({Id, Type, Metadata, Value}=Payload) ->
       PeerCount = 1, % @todo fix this
  -    log_transmission(broadcast, Payload, PeerCount),
  +    log_transmission({broadcast, Payload}, PeerCount),
       Clock = orddict:fetch(clock, Metadata),
       Broadcast = #broadcast{id=Id, clock=Clock, type=Type,
                              metadata=Metadata, value=Value},
  
positive.code: -endif.
  
  %% @private
  log_transmission(Type, Payload, PeerCount) ->
      try
          case lasp_config:get(instrumentation, false) of
              true ->
  
negative.code:     end.
  
  %% @private
  send(Msg, Peer) ->
      log_transmission(extract_type_and_payload(Msg), 1),
      PeerServiceManager = lasp_config:get(peer_service_manager,
                                           partisan_peer_service),
      PeerServiceManager:forward_message(Peer, ?MODULE, Msg).
  
  %% @private
  extract_type_and_payload({Type, _From, Payload}) ->
      {Type, Payload};
  extract_type_and_payload({Type, _From, Payload, _Count}) ->
      {Type, Payload}.
  
  %% @private
  init_delta_sync(Peer) ->
      lager:info("Initializing delta synchronization with peer: ~p", [Peer]),
      gen_server:cast(?MODULE, {exchange, Peer}).
  