Use request.route.settings.plugin