Pass a std::unique_ptr& to the create??? methods is lib/Object.