Refactoring: Preserve the whole repository