Clearing repository