Remove unused helper.
Merge pull request #1686 from abuiles/remove-unused-code

Remove unused helper.