Added support for inherited plugin objects using the helper template. Added a helper object for managing scope