Wired up code to actually add an event source.