Fixed some sendMessage calls.