(see above note about removing `chain_ref` and `chain_mut_ref`)