Fix broken pluginInit for new style instantiation