NetworkLayer: Fixed conditional module.

Bug introduced with eliminating UnimplementedModule earlier.