code: function(attrs, value, opt) {
  
          var args = Array.from(arguments);
          if (args.length === 0) {
              return this.get('attrs');
          }
  
          if (Array.isArray(attrs)) {
              args[0] = ['attrs'].concat(attrs);
          } else if (joint.util.isString(attrs)) {
              // Get/set an attribute by a special path syntax that delimits
              // nested objects by the colon character.
              args[0] = 'attrs/' + attrs;
  
          } else {
  
              args[0] = { 'attrs' : attrs };
          }
  
          return this.prop.apply(this, args);
      }
docs: A convenient way to set nested attributes.