public function getAges() {
    $ages = [];

    $ages_config = $this->config->get('ages');
    foreach (explode("\n", $ages_config) as $row) {
      $row = trim($row);
      list($months, $label) = explode(',', $row);
      $ages[] = [
        'label' => $label,
        'value' => $months,
      ];
    }

    return $ages;
  }