TYRUS-252: Encoder for primitive types cannot be overridden.