Iterator pattern done.