- Added getXXX_safe() methods.
- Added setXXX_safe() methods.
- Added getFromNative() and setToNative() methods. 
- Added new constructors.
- Rafactoring and optimization.