Automate removal of trailing whitespaces.