Added initialization for byte streams