plugins: Init ctor
plugin: param: erase invalidates iterator.

Real error found by coverity :)