Refactored powerline installation.