Making conversions work with type-class materializers.

Fixes #33 #19

Review by @gzm0 @hubertp
Merge pull request #46 from vjovanov/clean-conversions

Making conversions work with type-class materializers.