Added support for multiple robots.