Buffer clearing.