Making public for unit test usage.