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

(fix) Fix for typemap changes.