Some debugging. Initial stream code.