Also of note: that should be a *private* method, since this encapsulates all the repo management logic.