Cleaning up the addon manager.