More elegant way of getting Type's name
Merge pull request #9 from anonx/patch-1

More elegant way of getting Type's name