Added toString method for repository.