Implement MessageEvent.