Since "client" is "protected", you can probably just set it directly, versus the reflection technique.