added support for primitive wrapper types (#20)