Add new kind of smart iterator to support lazy loading of hierarchies in visualisation.