Adding optional persistence & replication params.