Removed deprecated function call
Merge pull request #16 from enumag/patch-10

Removed deprecated function call