Add bulk module state changes for activate and deactivate.