Change from a raw pointer.