'Return a dict of method_name->argspec for every method of cls.'

@staticmethod
def _get_argspecs(cls):

    argspecs = {}
    for (name, method) in inspect.getmembers(cls, inspect.ismethod):
        if (name == '__init__'):
            continue
        while hasattr(method, '__wrapped__'):
            method = getattr(method, '__wrapped__')
        argspecs[name] = inspect.getargspec(method)
    return argspecs
