Favor unique_ptr over shared_ptr.