Make sendMessage work again