Only require dom and not submodules