Cleaning of repository