Updated for MAT iOS SDK 3.1.1