Reformat code for GenerateMeta