anchor.diff:    void captureState() {
       if (wasStateCaptured) throw "captureState was called twice.";
       wasStateCaptured = true;
  -    accessToStatics.add(emitter.classAccess(element));
  +    accessToStatics.add(emitter.constructorAccess(element));
   
       element.forEachLocalMember((ElementX member) {
         if (!member.isInstanceMember) {
  
positive.code:     wasStateCaptured = true;
  
      if (element.isInstanceMember) {
        elementAccess = emitter.classAccess(element.enclosingClass);
        name = namer.getNameOfMember(element);
      } else {
        elementAccess = emitter.staticFunctionAccess(element);
  
negative.code:     List<jsAst.Statement> inherits = <jsAst.Statement>[];
  
      for (ClassElementX cls in newClasses) {
        jsAst.Node classAccess = emitter.constructorAccess(cls);
        String name = namer.getNameOfClass(cls);
  
        updates.add(
  