Cursor iteration.