Refine powerline stuff