You can also use the `unload.coffee` package to register actions that will be performed when the extensions unloads for any reason.