Use interface for mocking.