Addedded more Plugin API functionality