Fix deprecated method name
Merge pull request #1 from iamdarrenhall/master

Fix deprecated method name