Added a custom command to strip trailing whitespaces.