Added generic n-argument min/max functions.