Added and enabled smartparens.
Added and enabled undo-tree-mode.