Add method to parse from iterators.