Add min/max aggregates.