Refactoring, documenting