Make this a std::unique_ptr to avoid having to set it to null after deleting it.