You could probably simplify this with `*format_for_acct = \&as_acct;`.