Fixed doc generation, added test set_ipv4