Added a bunch of stuff in ed