Making ProfilePayload static and internal, changed signature of UploadImage