Is this function used anywhere ? Can't find any references - at least not in this master branch, perhaps you use it in other branches of yours ?