Remove un-portable API references.