Make input mapping parameter const in multistream API