Added support for list of locations.