Switched to IteratorAggregate
Repository now convert data to instances when accessed, instead of converting all at the beginning of the foreach.