Rework network interfaces to be templated.