Added helper methods to MessageDispatcher.