Protected blobs for cleanup, improved error handling and logging