remove some unneeded internal detail for commondigest structs