Deprecate some old network class.