Implemented editing actions.