7. Documentation and cleanup.