Corrects API_FUNCTIONS