Refine type of wrapped client