deprecated methods calls removed
Merge pull request #2635 from jerrinot/deprecated

deprecated methods calls removed