Added a decorator for undoable parser methods for cleanup.