Fix plugin_setting so it doesn't trigger a deprecation warning.

Test added.