Change from private API that was removed to new public API that performs the same behavior
Merge pull request #1 from twotoasters/jb-fix-removed-api

jb-fix-removed-api