This makes input_pill no longer depend on stream_data and stream_color, and it probably reduces some other dependencies.