Added plugin api