Iterator cleanup