Reformat of BeanstalkClient.