Added structure for aggregator directive