Never used except in tests.