Tidying up before sending to Scratchpads.