Made url optional. This allows me to create a new client without params