Add an IIteratorPtr that is a shared_ptr to IIterator.