Added clear_stream() function and updated docs