Implementing `this.select`