plugin_activated & plugin_deactivated should be private