Actually register the events...