textToSpeech()?

Continuing the discussion from Hub Update 1.0.8:

How do we use this function added in 1.0.8? textToSpeech(). Currently in the ST platform I call the following:

state.sound = textToSpeech(phrase instanceof List ? phrase[0] : phrase, myVoice)

Where phrase = the text that I want to speak.
Where myVoice = the voice name as listed in the Amazon Polly API.

state.sound is then set with the following properties:
state.sound.uri = path to the produced mp3
state.sound.duration = duration of the mp3