       @io.uncacheKey pivot.page, pivot.page.addresses[pivot.index]
       @io.splice penultimate.right.page, penultimate.right.index, 1
 
-      @io.rewriteBranch penultimate.right.page, ".pending", _
+      @io.writeBranch penultimate.right.page, ".pending", _
 
       # **TODO**: If I succeed, how will I know to test the parents for balance?
       # **TODO**: Uh, can't the medic just note that this page needs to be


    @io.size -= child.right.page.size

    @io.rewriteBranch child.left.page, "replace", _

    child.right.page.addresses.length = 0
    @io.rewriteBranch child.right.page, "unlink", _

    if parent.isPivot
      right = pivot.page

    @io.splice root, 0, 0, (page.address for page in children)

    # Write the child branch pages.
    @io.writeBranch page, ".replace", _ for page in children

    # Rewrite our root.
    @io.writeBranch root, ".pending", _

    # Commit the changes.
    @io.rename root, ".pending", ".commit", _
