Upgrade to new AddonManager API