Remove extraneous symbols.