Implement ref iterators