Java7/Batching fix: Remove unnecessary template param in util method.