Fix 'Deprecated' warnings in examples
Fix 'Deprecated' warning in full example code too
Merge pull request #46 from z2v/version1.1

Fix 'Deprecated' warnings in examples