Added UserData for ThostMd* APIs