foam.CLASS({
  package: 'foam.build',
  name: 'Library',
  ids: ['name'],
  properties: [
    {
      name: 'name'
    },
    {
      name: 'flags'
    },
    {
      name: 'methods'
    },
    {
      name: 'constants'
    }
  ]
});

foam.CLASS({
  package: 'foam.build',
  name: 'Library',
  ids: ['name', 'iteration'],
  properties: [
    {
      name: 'name'
    },
    {
      class: 'Int',
      name: 'iteration',
      value: 0
    },
    {
      name: 'flags'
    },
    {
      name: 'methods'
    },
    {
      name: 'constants'
    }
  ]
});

Update Library model.