Added support for FooGadgetEnergy