Emit events when plugins are enabled/disabled