Fixed visibility on getParamsForBatch