Interfaces for Repository pattern.