Fix deprecation warnings
Merge pull request #9 from dieterdemeyer/master

Fix deprecation warnings