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

Fix deprecation warnings