Merge dependencies