Support for batch get.