Remove some unique pointers.