Unification of plugin (de)activation (issue #154)