Merge pull request #46 from z2v/version1.1

Fix 'Deprecated' warnings in examples