I really like the iterator-within-an-iterator style this implicitly suggests. It avoids having, like, `return if messages.empty?` and the like all over the place.