anchor.diff:  %% Language handling.
   
   handle_command({declare, {ReqId, _}, Id, Type}, _From,
  -               #state{variables=Variables, partition=Partition}=State) ->
  -    lager:info("Declare called for id: ~p on partition: ~p",
  -               [Id, Partition]),
  +               #state{variables=Variables, partition=_Partition}=State) ->
       {ok, Id} = ?BACKEND:declare(Id, Type, Variables),
       {reply, {ok, ReqId, Id}, State};
   
  
positive.code: 
  
  fetch(Id, FromId, FromPid, ReqId) ->
      [{IndexNode, _Type}] = lasp:preflist(?N, Id, lasp),
      riak_core_vnode_master:command(IndexNode,
                                     {fetch, Id, FromId, FromPid, ReqId},
                                     ?VNODE_MASTER).
  
  reply_fetch(Id, FromPid, ReqId, DV) ->
      [{IndexNode, _Type}] = lasp:preflist(?N, Id, lasp),
      riak_core_vnode_master:command(IndexNode,
                                     {reply_fetch, Id, FromPid, ReqId, DV},
                                     ?VNODE_MASTER).
  
  notify_value(Id, Value) ->
      [{IndexNode, _Type}] = lasp:preflist(?N, Id, lasp),
      riak_core_vnode_master:command(IndexNode,
                                     {notify_value, Id, Value},
                                     ?VNODE_MASTER).
  
  
negative.code:     Preflist = lasp:preflist(?N, Id, lasp),
      Preflist2 = [{I, N} || {{I, N}, _} <- Preflist],
  
      %% Determine if we need to write locally as one of the preference
      %% list members, and if so, execute the local write.
      Preflist3 = case lists:member({Partition, Node}, Preflist2) of
          true ->
              {ok, _} = ?BACKEND:declare(Id, Type, Variables),
              Preflist2 -- [{Partition, Node}];
          false ->
              Preflist2
      end,
  
      %% Fire network request for the remainder.
      case Preflist3 of
          [] ->
              {ok, Id};
          _ ->
              {ok, ReqId} = lasp_declare_fsm:declare(Preflist3, Id, Type),
              {ok, Id} = lasp:wait_for_reqid(ReqId, ?TIMEOUT),
              {ok, Id}
      end.
  
  