Doesn't work yet, because the parameter type of LayoutWrappingEncoder.setParent() is still an OutputStreamAppender.