Added plugin to native code