I now see where the connection to the merge code is, but I don't think it's the right choice: sharing the "create a page" function isn't worth it.