Support custom conversions. Fixes #42

I made the solution a bit different from what I described in issue #42. I like this better because you use symbols instead of text.

Hope you can use it.