Added the getTrustedBatches method