Add clearAll methods to Index and Repo