Updated definition of Repo