simplify stuff in PluginUtils