Added support for batch requests