Improve support for name service based on zookeeper.