Add legatize and remove overlap MIDI operations.