minor API changes to ensure restore handler can contain multiple transactions