Added batch request functionality.