Added emit to aggregation mapper