Made the client instance overridable.