   result to the original cast_mc.
   """
   defp cast_mc([{h, options} | t], method, params, context, guards, cb) do
-    Logger.debug("Cast mc #{Keyword.get options, :name, (inspect h)}")
+    #Logger.debug("Cast mc #{Keyword.get options, :name, (inspect h)}")
     if check_guards(
         %RPC.Message{ method: method, params: params, context: context},
         options, guards) do


  def cast(pid, method, params, context, cb) when is_pid(pid) do
    st = Agent.get pid, &(&1)
    Logger.debug("Method #{method} caller pid #{inspect pid}, in #{inspect (Map.keys st.methods)} #{inspect Enum.map(st.mc, fn {f, options} -> Keyword.get options, :name, (inspect f) end) }")
    case Map.get st.methods, method do
      {f, options} ->
        # Calls the function and the callback with the result, used in async and sync.

        Logger.error("#{Exception.format :error, other}")
        {:error, other}
    end
    #Logger.debug("Method #{method} caller function #{inspect f} -> #{inspect ret}.")

    cb_params = case ret do
      {:ok, ret} -> {:ok, ret}
