Eliminate the createFinalizedThen function.