Keep compatibility with legacy :class and :replication_factor options