Add support for new restore API call