Remove unnecessary chunks of code in addAsmType frameworks, reformat