Added endorsement and thread_type fields