Fix setNameservers method in Network to avoid error in import interfaces