default implementation of to-cursor for IIndexed instead of
IVector. allow default implementations to be overriden.