Make the signatures of functions passed to "register_tap_listener()"