Fix warnings with deprecated functions
Merge pull request #18 from beatgammit/fix-warnings

Fix warnings with deprecated functions