with

fun <T> with(store_: IDeserializingKeyValueStore, f: () -> T): T
fun <T> with(tree: ITree, f: () -> T): T