Plugins API expansion & update

Plugins API expansion & update
Indent should be +4