handleMessages now takes a MXPaginationResponse argument