Required for tests