anchor.diff:      Members -- [node()].
   
   %% @private
  -i_am_server_and_should_react() ->
  -    PeerServiceManager = lasp_config:get(peer_service_manager, partisan_peer_service),
  -    case PeerServiceManager of
  -        partisan_client_server_peer_service_manager ->
  -            case partisan_config:get(tag, undefined) of
  -                server ->
  -                    case lasp_config:get(reactive_server, false) of
  -                        true ->
  -                            %% I'm the server in the reactive client-server mode.
  -                            true;
  -                        _ ->
  -                            false
  -                    end;
  -                _ ->
  -                    false
  -            end;
  -        _ ->
  -            false
  -    end.
  +state_based_mode() ->
  +    lasp_config:get(mode, state_based) == state_based.
  +
  +%% @private
  +delta_based_mode() ->
  +    lasp_config:get(mode, state_based) == delta_based.
  +
  +%% @private
  +broadcast_tree_mode() ->
  +    lasp_config:get(broadcast, false).
  +
  +%% @private
  +tutorial_mode() ->
  +    lasp_config:get(tutorial, false).
  +
  +%% @private
  +client_server_mode() ->
  +    lasp_config:get(peer_service_manager, partisan_peer_service) == partisan_client_server_peer_service_manager.
  +
  +%% @private
  +peer_to_peer_mode() ->
  +    lasp_config:get(peer_service_manager, partisan_peer_service) == partisan_hyparview_peer_service_manager.
  +
  +%% @private
  +i_am_server() ->
  +    partisan_config:get(tag, undefined) == server.
  +
  +%% @private
  +reactive_server() ->
  +    lasp_config:get(reactive_server, false).
  
positive.code: 
  %% @private
  schedule_aae_synchronization() ->
      ShouldAAESync = case lasp_config:get(mode, state_based) of
          delta_based ->
              false;
          state_based ->
              case lasp_config:get(tutorial, false) of
                  true ->
                      false;
                  false ->
                      not lasp_config:get(broadcast, false)
                      orelse not i_am_server_and_should_react()
              end
      end,
  
      case ShouldAAESync of
          true ->
  
negative.code:                                ?CLOCK_INIT(Actor)}),
  
      %% Send back just the updated state for the object received.
      case client_server_mode() andalso i_am_server() andalso reactive_server() of
          true ->
              ObjectFilterFun = fun(Id1) ->
                                        Id =:= Id1
  