Added interface to facilitate mocking