         if req.method is 'GET' or req.method is 'HEAD'
           next()
         else
-          heck req, res, "
+          heck.handler req, res, "
 Route '#{req.url}' not found, the '#{req.method}' method not allowed further.",
             405
 

  vfs = require('vfs-local') root: "#{app_path}/public"
  app.use require('vfs-http-adapter') '/', vfs,
    readOnly: true
    errorHandler: heck


# Catch and log any exceptions that may bubble to the top.

  # Middlewares
  app.use express.logger()

  # Some heck configuration options for custom errors.
  app.use heck.connect
    platesDir: app_path + "/public"
    templates:
      "4xx": "/codes/4xx.html"
      "5xx": "/codes/5xx.html"
    debugClass: "debug-hand"

  # Routing...
  app.use (req, res, next) ->
