Refactoring doc