Extracted the event/listener management portion of the TransactionIterator into a trait.