refactor(client)