adds magic method tags to Client.php