Documenting changes and refactoring