Switched most dependencies to submodules.