anchor.diff:         #watchdog{pid = Pid}
          = Wd,
          #state{watchdogT = WatchdogT,
  -              peerT = PeerT}) ->
  -    insert(PeerT, #peer{pid = TPid,
  -                        apps = SupportedApps,
  -                        caps = Caps,
  -                        watchdog = Pid}),
  -    insert(WatchdogT, Wd#watchdog{state = ?WD_REOPEN,
  -                                  peer = TPid}).
  +              local = {PeerT, _, _}}) ->
  +    ets:insert(PeerT, #peer{pid = TPid,
  +                            apps = SupportedApps,
  +                            caps = Caps,
  +                            watchdog = Pid}),
  +    ets:insert(WatchdogT, Wd#watchdog{state = ?WD_REOPEN,
  +                                      peer = TPid}).
   
   %% ---------------------------------------------------------------------------
   %% # connection_up/2
   %% ---------------------------------------------------------------------------
   
  -%% Watchdog has recovered as suspect connection. Note that there has
  +%% Watchdog has recovered a suspect connection. Note that there has
   %% been no new capabilties exchange in this case.
   
  -connection_up(#watchdog{peer = TPid} = Wd, #state{peerT = PeerT} = S) ->
  +connection_up(#watchdog{peer = TPid} = Wd, #state{local = {PeerT, _, _}}
  +                                           = S) ->
       connection_up([], Wd, fetch(PeerT, TPid), S).
   
   %% connection_up/4
  
positive.code:   when Type == connect;
         Type == listen ->
      {S, [T | Acc]}.
  
  service_options(Opts) ->
      [{sequence, proplists:get_value(sequence, Opts, ?NOMASK)},
  
negative.code: %% # share_peers/2
  %% ---------------------------------------------------------------------------
  
  share_peers(Pid, #state{options = [_, {_,SP} | _],
                          local = {PeerT, AppT, _}}) ->
      is_remote(Pid, SP)
          andalso ets:foldl(fun(T, N) -> N + sp(Pid, AppT, T) end,
                            0,
                            PeerT).
  
  %% An entry in the peer table doesn't mean the watchdog state is OKAY,
  %% an entry in the app table does.
  
  sp(Pid, AppT, #peer{pid = TPid,
                      apps = [{_, Alias} | _] = Apps,
                      caps = Caps}) ->
      Spec = [{{'$1', TPid},
               [{'==', '$1', {const, Alias}}],
               ['$_']}],
      case ets:select(AppT, Spec, 1) of
          '$end_of_table' ->
              0;
          _ ->
              Pid ! {peer, TPid, [A || {_,A} <- Apps], Caps},
              1
      end.
  
  is_remote(Pid, T) ->
      Node = node(Pid),
  