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

(fix) Fix for typemap changes.