Performance enhancements for the GetPayload methods. Now uses std::copy rather than manually iterating through the vector.