Reference repository by its interface instead of concrete implementation