Fixed the Execute and Undo declarations.