Finish up the registration code for Avahi.