Corrected the Iterator declaration.