Moved duplicate code to iterator on Drive as a superclass.