Fix documentation for asText