Fix build of SMDataModel.