Replace most ~exprs with 'box'. #11779