When passing a network as argument, use `Network` object instead of `string` (network's name) when possible.