TextFormat is not a public API.