try {
Class API = Class.forName("codechicken.nei.api.API");
Class IOverlayHandler = Class.forName("codechicken.nei.api.IOverlayHandler");
Method registerGuiOverlayHandler = API.getDeclaredMethod("registerGuiOverlayHandler", new Class[] { Class.class, IOverlayHandler, String.class });
registerGuiOverlayHandler.invoke(API, new Object[] { GuiWorkbenchBackpack.class, new OverlayHandlerBackpack(), "crafting" });
ConfigurationBackpack.NEISupport = true;
FMLLog.log(Constants.MOD_ID, Level.INFO, "[Backpacks] NEI Support enabled");
}