Removed debugging code; when it errors, it's an empty object {}
Added delete capability