Added asInputStream.