I suppose these could be just `unique_ptr`, since there's a `using namespace std;` up there.