Replacing destructable with weak_ptr.