Instance methods can be called via the class:
Class.method(instance, arg)
Self arguments are handled separately. With an explicit instance argument as in the example, its type was wrongly used for the next argument with all subsequent argtypes offset by one.
BUG: 369364
Simply skip such arguments where they exist.