Updated version of writing clients.