Handle java primitives type (issue #61)