Semi-automatically remove trailing whitespace.
Looks like the old code missed a 'self.'.
Simplified a bit.
Merge pull request #10 from ospalh/hotfix-fix-a-self

Looks like there is a "self." missing.