https://github.com/romanvm/script.module.simpleplugin/issues/1#issuecomm ent-250970005
In v.2+ the recommended way to add actions is via @plugin.action() decorator. This makes code more readable and Pythonic.