refactoring of how documentation works.