Opened up access to input and output streams for the connect function.