Implement FromIterator