If this is available to subclasses, I suggest to make the `$client` protected variable `private`