docs: function(ctx, blocks) {
                  this.ctx = ctx;
                  // ... this.blocks = {xxx: []}
                  this.blocks = {};
                  this.exported = [];
  
                  for (var name in blocks) {
                      this.addBlock(name, blocks[name]);
                  }
              }