anchor.diff:  %%%===================================================================
   
   %% @doc Initialize the request.
  -init([ReqId, From, Id, Type]) ->
  -    State = #state{preflist=undefined,
  +init([ReqId, From, Preflist, Id, Type]) ->
  +    State = #state{preflist=Preflist,
                      req_id=ReqId,
                      coordinator=node(),
                      from=From,
  
positive.code: -include("lasp.hrl").
  
  %% API
  -export([start_link/4,
           declare/2]).
  
  %% Callbacks
  -export([init/1,
  
negative.code: %%% API
  %%%===================================================================
  
  start_link(ReqId, From, Preflist, Id, Type) ->
      gen_fsm:start_link(?MODULE, [ReqId, From, Preflist, Id, Type], []).
  
  %% @doc Declare a variable.
  declare(Id, Type) ->
      ReqId = lasp:mk_reqid(),
      _ = lasp_declare_fsm_sup:start_child([ReqId, self(), undefined, Id, Type]),
      {ok, ReqId}.
  
  %% @doc Declare a variable at a given preference list.
  declare(Preflist, Id, Type) ->
      ReqId = lasp:mk_reqid(),
      _ = lasp_declare_fsm_sup:start_child([ReqId, self(), Preflist, Id, Type]),
      {ok, ReqId}.
  
  %%%===================================================================
  