Ensuring streaming bodies' type is correctly set