 
   defp build_pipes(name, pipe_through) do
     plugs = pipe_through |> Enum.reverse |> Enum.map(&{&1, [], true})
-    {conn, body} = Plug.Builder.compile(__ENV__, plugs, init_mode: Phoenix.plug_init_mode(), log_on_halt: :debug)
+    opts = [init_mode: Phoenix.plug_init_mode(), log_on_halt: :debug]
+    {conn, body} = Plug.Builder.compile(__ENV__, plugs, opts)
 
     quote do
       defp unquote(name)(unquote(conn)), do: unquote(body)


  """
  defmacro forward(path, plug, plug_opts \\ [], router_opts \\ []) do
    plug = Macro.expand(plug, %{__CALLER__ | function: {:init, 1}})
    router_opts = Keyword.put(router_opts, :as, nil)

    quote unquote: true, bind_quoted: [path: path, plug: plug] do


  """
  defmacro scope(path, alias, options, do: context) do
    alias = expand_alias(alias, __CALLER__)

    options = quote do
      unquote(options)
