The API could be for straight 'energy' of all types and have inherited classes of say 'electricity', 'mechanical', or 'magical' (and obviously, the ability to make ones own, but strongly discourage that). Registering ones energy network as 'electricity' would then automatically define that...