feat(plugins): Use attrs instead of scope for plugins template options

Close #241