Starting to implement the warehouse in memory query on more efficient enumerations.