add_asm_type: Fix property deletion error and lotsa other fixes