Add missing ctx and req.