MidiDispatcher now inherits from Dispatcher.