add class edit for storing edits in

Signed-off-by: Mattias Andrée <maandree@operamail.com>