Material::Variant: Improved mechanism for attaching and updating a state snapshot