Only call dataGetStruct once.