Removed deprecated calls
Added explicit versions
Added more versions.
Merge pull request #7 from goinstant/nealstewart/fix-deprecated

Fix deprecated interfaces