Updated refactoring strategies with examples