Refactoring and documenting (UML).