Resolve deprecation warnings added in OTP 17
Merge pull request #9 from hamiltop/master

Resolve deprecation warnings added in OTP 17