Now supports selecting kind in the gui and back end