Refactor definition of method restype & argtypes

No match.