Removing deprecated warnings
Merge pull request #176 from muuki88/master

Removing deprecated warnings