Added possibility to do batch requests.