Add dependencies between modules.