Recreated Client.php