Make it optional to provide options to the connect method.