Handle API level errors.
Add non-transactional delete.