Add use of namespaces and aliases in AbstractAggregation