Wrote the refactoring documentation