Refactoring SelectBuilder.