Added unique-ptr-like ownership to block_ptr