Gave access to modules in Module::on_activated and on_deactivated