We now desable the submodules when the maimodule is desabled.