Plugins API expansion & update

Plugins API expansion & update
Ignore me.