Add network support for #5.