Change to "iterable of node pairs". Also applies to all other occurrences below.