Support for newer Teaspoon console API