It is only used by a single test case, and not exported as public API, remove it.
mentioned in commit df5eb32d