Fixed some deprecations

* Model.all is deprecacted, use without .all
* confirm: message is deprecated, needed to be wrapped
  in data block