[Cleanup] TransforningIterator never gets used => get rid of duplicated code