def METHOD_NAME(object):
    from ansys.grpc.dpf import scoping_pb2_grpc
    object._server.create_stub_if_necessary(ScopingGRPCAPI.STUBNAME,
                                            scoping_pb2_grpc.ScopingServiceStub)
    object._deleter_func = (_get_stub(object._server).Delete, lambda obj: obj._internal_obj)