Removed unused messagehandler.