added some more plugin macros