Avoid build errors due to wrong references between modules.