Add setup_voice function.