Remove duplicate code and add parens to clarify intent
Extract helper and convert to 1.9 hash syntax
Add space before '=' for consistency
Remove dead code
Rename method