Refactor loading of extensions that use reset