Implements Client.