Added bare message handler code.