Allow passing in raw streams