Add trailing whitespace functions