The reason it's a dependency is to allow it to be mocked out in tests.