Fixed deprecation messages
Merge pull request #34 from EricSmekens/master

Fixed deprecation messages