IAP functions.