public static RegistryHelper getInstance() { if (instance == null) { instance = new RegistryHelper(); } return instance; }