Fixed deprecation warning.
Merge pull request #5 from jbracker/master

Fixed deprecation warning.