Flatten now returns IEnumerable instead of ICollection.