That said, I don't see any code in this PR that calls this function, where is it used? If it's left-over from tests, we probably should remove it instead.