public function castingHelper($field)
 {
     // Safely escape the comment
     if ($field === 'EscapedComment') {
         return $this->AllowHtml ? 'HTMLText' : 'Text';
     }
     return parent::castingHelper($field);
 }