OnConnect taking extended connection type added.