Generalize for any DataKind client