Refactored type and typespec into Instr.Method.