Update for compatibility with Express 3.x