   defmacro __before_compile__(_env) do
     quote do
       defp do_match(_method, _path, _host) do
-        fn (conn) -> send_resp(conn, 404, "<html><body>Not Found</body></html>") end
+        fn (conn) -> send_resp(conn, Status.code(:not_found), "<html><body>Not Found</body></html>") end
       end
     end
   end

defmodule Trot.Router do
  @doc false
  defmacro __using__(_opts) do
    quote do

  def make_response(code, conn) when is_number(code) do
    Plug.Conn.send_resp(conn, code, "")
  end
  def make_response(code, conn) when is_atom(code) do
    code = Status.code(code)
    Plug.Conn.send_resp(conn, code, "")
  end
  def make_response({code, body}, conn) when is_number(code) and is_binary(body) do
    Plug.Conn.send_resp(conn, code, body)
  end
