Fixed loading of extensions with options