Adding #on_value.

This allows you to have a callback when some kind of value
comes down the stream.