Add in support for plugin preferences by D. Massay