Repo housekeeping