Unobtrusively remove trailing whitespace