def label_func(s, label=label):
                self.set_label(s, label)
def implementor(rpc_code, blocking=False):
    """
    RPC implementation function.
    """
    return partial(_add_implementor, rpc_code, blocking)