Preserve operands by paramId when changing method.
Fix typo.
Add clear function for method parameter operands.