This function is not covered by the tests.