stub out upgradeDocumentTree when under native.