Required changes by express 3.x