Pagination of events was added.