Remove deprecation warning
Merge pull request #15637 from akshay-vishnoi/delete-deprecated-method

Remove deprecation warning