Use of std::unique_ptr<T> in external interfaces.