Use cl-flet instead of flet for the temporary definition of
‘store’. (flet is deprecated in Emacs 24.3)