Added Iterator pattern.