Added the possibility to set a dummy stream