Refactoring docs