Load plugin on MIDI track in Ableton Live

I’m building a MIDI only (legacy) VST that takes MIDI input, transforms it, and then produces MIDI output. The plugin works fine, but I noticed that Ableton Live loads it on an audio track by default (i.e. when I drag the plugin and drop it in the main window to create a new track). I would like Ableton to load the plugin on a MIDI track instead (it does this with Cthulu, for example).

I wonder what plugin attributes Ableton uses to determine the appropriate track type and how I can achieve the behaviour I want with Juce?