Made undo constants instance variables