Set up editing.