Adding attachment method.
Adding variables to the plugin base.
Don't pass the rendered view node as an argument but as a class property.