[aggregation] Refactor indexviews, use common ancestor.