Drop unnecessary `type_name` argument to `#encode` and `#decode`.
Merge pull request #49 from seomoz/phs/drop-type-name-parameter-on-encode-decode

Drop unnecessary `type_name` argument to `#encode` and `#decode`.