Make SpeechRecognition object future-proof. Thanks @alrra