Rewrite, Refactoring