Replacing hyphens with underscores for field-type class