Adapt repository to handle AggregateType