Add semaphores to the MIDI importer.