Use constants instead of magic numbers.
Better living through generators; simplify init.