Add RepositoryInterface.