Global variable for plugin instantiation was not necessary