Fix iterator type.
Merge pull request #24 from gwtnb/fix-iterator-type

Fix iterator type.