Refactor Dematerializer, blobs not working