Make a helper function to retrieve all history events.