RefactoringInternally reorganising and repurposing legacy components to salvage value while eliminating toxicity.