Intercepting sendMessage