Network generation.