Support min, max, and average operations