Better delete error handling, better logging.