fix exposing of DuplexWrapper

`exports` is overwritten