Separated itertools from more low-level iterator stuff.