Use the new batchID as a generic type