replace \Iterator with \Traversable