Dust helpers used by capnp-js-plugin