Dealing with trailing whitespace.