`Interfaces for repositories