Move the client to the constructor.