Add isConnected and extend support