Share set_handler() fn