Instrument `state` and `state_group` storage-related operations to better picture what's happening when tracing.