Make type for encoding.

Make type for encoding.