Removed deprecated warning
Merge pull request #27 from SimonDanisch/patch-3

Removed deprecated warning