Added ref operations into Repo interface. Implemented in FSRepo