code: func (p *Parser) OnEntity(h EntityHandler) {
  	p.entityHandlers = append(p.entityHandlers, h)
  }
docs: // OnEntity registers an EntityHandler that will be called when an entity
  // is created, updated, deleted, etc.