Refactoring a docmenting'