ResourceCollection implements IteratorAggregate instead of Iterator

IterratorAggregate gives a more concise and more readable code