Added interfaces for repository