A good sign that this stuff should probably be in a closure.