Repository cleanup.