BBInputStream and BBOutputStream added.