Changes for issue #443 - should do the job
This makes setting those plugin config vars a lot cleaner.