Fixing a buildbot failure:unused function.