Remove extraneous text.