Added memory for the unique_ptr data structure.