Add support for multistream decoders.

Untested yet...