Fixes #95 Type transformer