Altered how key is used by the plugin