Removing trailing whitespace.
Stripped down version for presentation.