Added replicaset stuff