Allow index to have req, res, next