protected function onBeforeDelete()
 {
     parent::onBeforeDelete();
     foreach ($this->Values() as $v) {
         $v->delete();
     }
 }
 public function getCMSFields()
 {
     $fields = parent::getCMSFields();
     $fields->add(new TextField('InitialValue', 'Initial Value'));
     return $fields;
 }