Fix deprecation notice
Merge pull request #4 from EricHogue/FixingDeprecationNotice

Fix deprecation notice