Implementing MidiMessage classes.