Start work on aggregation flag parsing