public static <T extends DuplicatesProfile> DuplicatesProfile getProfile(Class<T> profileClass) {
    return EP_NAME.findExtensionOrFail(profileClass);
  }
public static <T extends DuplicatesProfile> DuplicatesProfile getProfile(Class<T> profileClass)