Refactored generator events into traversable events.