Extract type-name module out.

https://github.com/twada/type-name