[#8] Updated the api calls to use the new clear function pointers