Fix for missing return statement from wnsPayload function.