Added streaming to the example.