Cleaning up the repositories