Move MessageHandler to Util package.