Remove std::move that was preventing return value optimization.