Aggregates and repository