[BUGFIX] Warning in addPlugin()