Automatically register all injected objects with the event bus.