compatability changes to aapiWrapper