Corrected deprecation warnings
Merge pull request #9 from retr0h/retr0h/deprecation-warnings

Retr0h/deprecation warnings