Change "select" to a method function so users can add methods to it.