Implement merge_doclen_changes