Adding varargs support to min/max.