Fixed a deprecation warning
Merge pull request #1 from anlumo/master

One more deprecation fix.