Added select_min, select_max, select_avg, and select_sum methods.