Removed usage of deprecated method
Merge pull request #8 from chives/dev

Removed usage of deprecated method