Various updates to the stream examples to match the current code