Add two methods, getSelectedText and findAll.