Fixed usage of deprecated method
Additional usage fixes

These should be the last
Merge pull request #1543 from SoftCreatR/depFix

Fix usage of deprecated method