(fix) Fix for typemap changes.
Merge pull request #9 from reem/fix/deprecations

(fix) Fix for typemap changes.