Added restore and store api calls.