docs: @SuppressWarnings("unchecked")
    private static ManagedPartitionGroup buildSystemPartitionGroup(AtomixConfig config) {
      PartitionGroupConfig<?> partitionGroupConfig = config.getManagementGroup();
      if (partitionGroupConfig == null) {
        return null;
      }
      return partitionGroupConfig.getType().newPartitionGroup(partitionGroupConfig);
    }