Allow different types of streams to be merged together.