Updated to work with Express 4.0.

Closes #1.