Support resuming iteration