code: private void removeInstancePrefix() {
      Properties newProperties = new Properties();
      for (Map.Entry<Object, Object> entry : mProperties.entrySet()) {
        String key = entry.getKey().toString();
  
        if (key.startsWith("*") || key.startsWith("worker") || key.startsWith("master")) {
          String newKey = key.substring(key.indexOf('.') + 1);
          newProperties.put(newKey, entry.getValue());
        } else {
          newProperties.put(key, entry.getValue());
        }
      }
      mProperties = newProperties;
    }
docs: Removes the instance prefix in the properties. This is to make the configuration
  parsing logic backward compatible with old configuration format.