Cleaning and documenting BufferedUartStream.