Can we do something clever here to preserve compatibility with 2.8?

    plugin[req.params.action].length