Implement the EDIT and DELETE grammars.