Adds IP-address validation