This should have unit test coverage.