Added an example for using the plugin with a model instead of a collection