Dont use deprecated method
Merge pull request #209 from dereuromark/master-cleanup

Dont use deprecated method