   end
 
   # calls for get values from the state
-  Enum.each([:store, :session, :socket, :priv, :topics], fn name ->
+  Enum.each([:store, :socket, :priv, :topics], fn name ->
     msg_name = String.to_atom("get_#{name}")
     @doc false
     def handle_call(unquote(msg_name), _from, state) do


  @doc false
  @spec terminate(any, t) :: {:noreply, t}
  def terminate(_reason, %Drab{store: store, session: session, commander: commander} = state) do
    if commander.__drab__().ondisconnect do
      # TODO: timeout
      :ok = apply(commander, commander_config(commander).ondisconnect, [store, session])
    end

    {:noreply, state}


  @type t :: %Drab{
          store: map,
          commander: atom,
          commanders: list,
          controller: atom,
