Wire up the Edit functionality.

  This closes #4.