Repository clean up