Add dependency information to current modules.