Add more implementation for cursor/iterator.