The method set_callback has been corrected.