function ImportForm()
 {
     $form = parent::ImportForm();
     if ($form) {
         //EmptyBeforeImport checkbox does not appear to work for SiteTree objects, so removed for now
         $form->Fields()->removeByName('EmptyBeforeImport');
     }
     return $form;
 }
 public function ImportForm()
 {
     $form = parent::ImportForm();
     $form->Fields()->replaceField('EmptyBeforeImport', new CheckboxField('EmptyBeforeImport', 'Clear Database before import', false));
     return $form;
 }