Add iterators for events and WindowBuilder