Small changes. Working on processing messages to and from replicas.