structurePairs are now correctly initialized in command mode.