Refactoring documentation