Refactoring and Documenting