Fixed plugin architecture

- fixed indent. Renamed plugin method