A NetworkService class depends on GLib.