code: func (p *WebPage) Pages() ([]*WebPage, error) {
  	var resp struct {
  		Refs []refJSON `json:"refs"`
  	}
  	if err := p.ref.process.doJSON("POST", "/webpage/Pages", map[string]interface{}{"ref": p.ref.id}, &resp); err != nil {
  		return nil, err
  	}
  
  	// Convert reference IDs to web pages.
  	a := make([]*WebPage, len(resp.Refs))
  	for i, ref := range resp.Refs {
  		a[i] = &WebPage{ref: newRef(p.ref.process, ref.ID)}
  	}
  	return a, nil
  }
docs: // Pages returns a list of owned pages.