Removed deprecated function call
Merge pull request #107 from enumag/patch-9

Removed deprecated function call