Add span and groupBy to header.wppl