services/glade: use a saner way to reparent modules' main objects.