Add modules bulk activation/deactivation logic.