- Introduce generic iteratorResultHandler interface.
- Provides DirectIterator, which embeds detect inside the iterator function.