Removed deprecated function call
Merge pull request #42 from enumag/patch-1

Removed deprecated function call