This may not be necessary since we don't pass function as input to select.