Moved the options parameter from the constructor to the connect() method.