Changes necessary to support Express 4 framework.