Make text format impl details private.

I used private[this] out of habit, even though the scope is
an object, so just private would have the same effect.