Refactor some code related to column.formatter/.select