Get rid of some mark codes.