Refacotry code: get_tts_interface.