Add int specialization for native object

Add int specialization for native object
Add support for enum (int) native object