Removes trailing whitespaces. No real code change.