Add documentation and refactoring information.