Append get_text API function.