Refactor of power abstraction.