Add comments to upload functions