adding undocumented APIs to public headers