Whitespace.
Move repeated code into a method.
Fix a set->self typo.