Interfaces for mocking