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

(fix) Fix for typemap changes.