Move network helper to core.