Fix class names for formulas of a specific version.