Fix a bug where only one extension was loaded.