small documentation method refactor