Moved RangeCollection into ItemContainerGenerator local scope.