Removed unused statement
Merge pull request #37 from enumag/patch-3

Removed unused statement
Removed deprecated function calls