Required by tests.