Turn PLUGIN_UI_DICT into a class so that it can be reused by other hosts