Apply Refactoring.