tweak api_functions docs