       @methods = {}
       CONST.HTTP_METHODS.forEach (method) =>
         @methods[method] = []
-        @[method.toLowerCase()] = (pattern, callback) ->
+        @[method.toLowerCase()] = (pattern, callback, endpoint = true) ->
           console.log " ✓".green, "[#{method.substr(0,3)}]".grey, "#{pattern}"
           parameters = []
           for name, regexp of CONST.URL_MATCH

            .replace(CONST.URL_MATCH.escape, '\\$&')
            .replace(CONST.URL_MATCH.name, '([^\/]*)')
            .replace(CONST.URL_MATCH.splat, '(.*?)')

          @methods[method].push
            pattern   : new RegExp "^#{pattern}" # new RegExp '^' + pattern + '$'
            callback  : callback
            parameters: parameters


                response.file file, policy.maxage, last_modified
            else
              response.page "404", undefined, undefined, 404
          , endpoint = false
      promise.done undefined, true
      promise

