Removed the hook registration of submodules