Stream cleaning.