Refactor client service mixin.
Little change in example.