Examples and contracts of using etcd