Add undelete functions to table API