Added code to auto-wire topics for discovered events and handlers.