Added `(require 'cl-lib)` and changed `loop` to `cl-loop`.