Add stub for undo
Add API for Undo