We could DRY this up with `if (origMethod == NULL || class_addMethod(...`