A rewrite of Electric.