def autodoc_process_signature(app, what, name, obj, options, signature,
    return_annotation):
    """Remove 'self' and return type annotation from C++ methods"""
    if what == 'method' and 'self:' in signature:
        s = signature.strip('()').split(',')[1:]
        return '({})'.format(','.join(s)), ''
