def METHOD_NAME(self, sig, overloads, allow_unsafe,
                    exact_match_required):
    sig = [t._code for t in sig]
    overloads = [[t._code for t in s] for s in overloads]
    return _typeconv.METHOD_NAME(self._ptr, sig, overloads,
                                     allow_unsafe, exact_match_required)