anchor.diff:  
       %% Get the current advertisement list.
       {ok, {_, _, _, AdList0}} = lasp:read(AdsWithContracts, {strict, undefined}),
  -    AdList = SetType:value(AdList0),
  +    AdList = lasp_type:query(SetType, AdList0),
   
       %% For each advertisement, launch one server for tracking it's
       %% impressions and wait to disable.
  
positive.code: 
  %% @private
  view_ad(CounterType, Id, Counters0, CountersDelta0) ->
      case dict:size(Counters0) of
          0 ->
              {ok, {Counters0, CountersDelta0}};
          _ ->
              %% Select a random advertisement from the list of
              %% active advertisements.
              Random = random:uniform(dict:size(Counters0)),
  
negative.code:     {ok, {_, _, _, AdsWithContracts}} = lasp:read(AdsWithContractsId, AdsWithContracts0),
      %% Log state received from the server.
      log_transmission(AdsWithContracts),
      AdList = lasp_type:query(SetType, AdsWithContracts),
      Identifiers = [Id || {#ad{counter=Id}, _} <- AdList],
  
      %% Refresh our dictionary with any new values from the server.
  