Changing name of global api call to ast_*