Optimized network code.