Complete rewrite of equalizer.