IpAddress class modified