Fix broken Client constructor.