Changed style of NetworkInterface registration for g++ compatability