Commits cb9fa802b32b222b and 0c90f6769de6a60f added these functions, but did not bother with documentation.