Fixed deprecation warning
Merge pull request #38 from mennopruijssers/deprecation

Fixed deprecation warning