avoid creating some scalars in capture methods
perhaps avoid one unbox_s per attribute access?