It was totally unintentional. The logic further below code does not assume that the parent MUST be of type OutputStreamAppender.
Fixed in commit/b0ede870 part of the master (1.3.0) branch. I'll back port it to the 1.2.3 branch in the near future.