Network: Fix lint and style issues.