Add method to create client.