Added support for several IPs.