Added some helper function to retrieve the repeat events.