Ported most of power module class (only recipes remain).