Added pre/post iterate events.