Ported native reference APIs.