Updated obsolete API calls
Merge pull request #477 from 7sharp9/vnext

Updated obsolete API calls