Added support for the Iterator interface