Cleaning the repository