* Improve plugin core: trigger an error if calling a method on empty collection