Renamed for testing.