Refactor documentation.