static ConceptRefToVar conceptRefToVar(Concept.Ref ref) { ret new ConceptRefToVar(ref); } sclass ConceptRefToVar is IVarWithNotify { event fireChange; *(Concept.Ref *ref) { ref.concept().onChange(l0 fireChange); } public void set(A a) { ref.set(a); } public A get() { ret ref!; } }