Updated to new Addon API version.