Added handler to create client.