Production functions and aggregation