Merge pull request #27 from tanmaykm/tanmaykm

Packed attribute fix and some optimizations.
fix #29 generate metatada for sint types

also fixed deprecation warnings