some cosmetic changes to the plugin framwork