Remove warnings
Merge pull request #12 from mosamer/master

Drop warnings for deprecated code