Updated documentation for clarity on connect()