Added resonator wakefields; did some clean-up in beams.